import { FormsModule } from '@angular/forms';
import { RunningRoutes } from './running.routing.module';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { ExcelExportModule } from '@progress/kendo-angular-excel-export';//export excel

import { AlarmService } from './services/alarm.service';
import { RunningService } from './services/count';

import { StatusComponent } from './status/status.component';
import { CountsComponent } from './counts/counts.component';
import { DetailComponent } from './detail/detail.component';
import { RunningComponent } from './running.compoment';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    ExcelExportModule,
    FormsModule,
    RouterModule.forChild(RunningRoutes)
  ],
  declarations: [StatusComponent, CountsComponent, DetailComponent,RunningComponent],
  providers:[RunningService,AlarmService]
})
export class RunningModule { }
